﻿package com.gskinner.motion {    import flash.display.Shape;    import flash.events.Event;    import flash.events.EventDispatcher;            internal class FrameTicker extends EventDispatcher implements ITicker     {        protected var shape : Shape;        protected var _position : Number = 0;        public function FrameTicker() : void         {            shape = new Shape()            shape.addEventListener(Event.ENTER_FRAME, tick);        }        public function get interval() : Number         {            return 1;        }        public function get position() : Number         {            return _position;        }        protected function tick(evt : Event) : void         {            _position++;            dispatchEvent(new Event("tick"));        }    }}